package com.hy.memoryassistant;

import java.util.List;

/**
 * Created by Jeffrey on 1/4/2015.
 */
public interface ReminderCollection {
    /* Add a reminder
        r - The reminder to be added
     */
    public Reminder add(Reminder r);

    /* Get reminders on the Notification date
        date - Date in millisec
       Return: array of reminders
     */
    public List<Reminder> get(long date);

    /* Get all reminders
       Return: all Reminders
     */
    public List<Reminder> getAll();

    /* Get reminders by tag
        tag - The tag ID
     */
    public List<Reminder> getByTag(int tag);
    /* Delete reminder
     */
    public boolean remove(long ID);
    public boolean remove(Reminder r);

}
